@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './tool.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  outline: none;
  text-decoration: none;
}

div:focus {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

//main-container全局样式
.app-main {
  min-height: 100%
}

.app-container {
  padding: 20px;
}

// 链接样式
.link-type,
.link-type:focus {
  color: #5B8CFF;
  cursor: pointer;

  &:hover {
    color: #3B77E3;
  }
}

input ::-webkit-input-placeholder { /* WebKit browsers */
  color: #999;
  font-size: 16px;
}

input ::-moz-placeholder { /* Mozilla Firefox 19+ */
  color: #999;
  font-size: 16px;
}

input ::-ms-input-placeholder { /* Internet Explorer 10+ */
  color: #999;
  font-size: 16px;
}

.out_container {
  margin: 10px;
  .search_wrapper {
    background: #fff;
    padding: 20px 15px 0;
    .other_btn {
      display: flex;
      justify-content: flex-end;
      padding-bottom: 20px;
    }
    .el-input {
      width: 220px;
    }
  }
  .detail_container {
    background: #fff;
    padding: 20px 15px;
  }
}

.page-container {
  margin: 10px;
  padding: 10px;
  background: #fff;
}

.custom-form {
  .el-form-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }
  .el-form-item__label {
    white-space: nowrap; /* 防止标签换行 */
  }
  .el-form-item__content {
    flex: 1;
    min-width: 0; /* 允许内容收缩 */
  }
  .el-input, .el-select, .el-date-editor {
    width: 100%; /* 输入框宽度自适应父容器 */
    box-sizing: border-box; /* 包括内边距和边框在内计算宽度 */
  }
}

.table-header-btn {
  display: flex;
  margin: 10px 0 5px;
}
